<%
sub_menus = (
    "articles":(
        ("new article", url("new_article"), "write an article"),
        ("manage articles", "/articles", "manage articles"),
        ("moderate comments", "/comments", "moderate comments"),
    ),
    "settings":(
        ("general", "/settings", "general settings"),
        ("comments", "/comments", "comments"),
        ("notifications", "/notifications", "notification settings"),
        ("feeds", "/feeds", "manage feeds"),
    ),
    "authorizations":(
        ("users", "/users", "manage users"),
        ("groups", "/groups", "manage groups"),
        ("registration", "/registration", "manage blog registration"),
    ),
}
%>

<%def name="make_menu(menu_items)">
</%def>
